﻿using System;
using System.Collections.Generic;
using com.gexin.rp.sdk.dto;

namespace com.igetui.api.openservice.igetui.template
{
	// Token: 0x0200004A RID: 74
	public class TransmissionTemplate : AbstractTemplate
	{
		// Token: 0x17000263 RID: 611
		// (get) Token: 0x06000599 RID: 1433 RVA: 0x0000CF8C File Offset: 0x0000B18C
		// (set) Token: 0x0600059A RID: 1434 RVA: 0x0000CF94 File Offset: 0x0000B194
		public string TransmissionType
		{
			get
			{
				return this.transmissionType;
			}
			set
			{
				this.transmissionType = value;
			}
		}

		// Token: 0x17000264 RID: 612
		// (get) Token: 0x0600059B RID: 1435 RVA: 0x0000CF9D File Offset: 0x0000B19D
		// (set) Token: 0x0600059C RID: 1436 RVA: 0x0000CFA5 File Offset: 0x0000B1A5
		public string TransmissionContent
		{
			get
			{
				return this.transmissionContent;
			}
			set
			{
				this.transmissionContent = value;
			}
		}

		// Token: 0x0600059D RID: 1437 RVA: 0x0000CFB0 File Offset: 0x0000B1B0
		protected override List<ActionChain> getActionChain()
		{
			List<ActionChain> list = new List<ActionChain>();
			ActionChain item = ActionChain.CreateBuilder().SetActionId(1).SetType(ActionChain.Types.Type.Goto).SetNext(10030).Build();
			AppStartUp appstartupid = AppStartUp.CreateBuilder().SetAndroid("").SetSymbia("").SetIos("").Build();
			ActionChain item2 = ActionChain.CreateBuilder().SetActionId(10030).SetType(ActionChain.Types.Type.startapp).SetAppid("").SetAutostart("1".Equals(this.transmissionType)).SetAppstartupid(appstartupid).SetFailedAction(100).SetNext(100).Build();
			ActionChain item3 = ActionChain.CreateBuilder().SetActionId(100).SetType(ActionChain.Types.Type.eoa).Build();
			list.Add(item);
			list.Add(item2);
			list.Add(item3);
			return list;
		}

		// Token: 0x0600059E RID: 1438 RVA: 0x0000CF9D File Offset: 0x0000B19D
		public override string getTransmissionContent()
		{
			return this.transmissionContent;
		}

		// Token: 0x0600059F RID: 1439 RVA: 0x0000D08D File Offset: 0x0000B28D
		public override string getPushType()
		{
			return "TransmissionMsg";
		}

		// Token: 0x060005A0 RID: 1440 RVA: 0x0000D094 File Offset: 0x0000B294
		protected override int getTemplateId()
		{
			return 4;
		}

		// Token: 0x0400031A RID: 794
		private string transmissionType;

		// Token: 0x0400031B RID: 795
		private string transmissionContent;
	}
}
